package com.zeus.pojo;

import com.zeus.utils.Entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

/**
 * @author 冯扬龙
 * @date 2021/4/1 22:59
 */
@Component
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Survey extends Entity {
    public static final String state_create="创建";
    public static final String state_exec="执行中";
    public static final String state_over="结束";


    private Integer anon;

    private String bgimg;

    private Integer bounds;

    private Date createTime;

    private Integer creator;

    private Date endTime;

    private Integer id;

    private String logo;

    private String password;

    private String remark;

    private Integer rules;

    private Date startTime;

    private String state;

    private String title;

    private String url;

    //创建者信息
    private Admin admin;

    private List<Question> questions;
}
